From: Eli Zaretskii Date: Fri, 23 Apr 2010 15:24:39 +0000 (+0300) Subject: xdisp.c (pop_it): Fix last change. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~324^2~8039 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=2d0bb8db549b18c32be76aaae199b52399453880;p=emacs.git xdisp.c (pop_it): Fix last change. --- diff --git a/src/xdisp.c b/src/xdisp.c index e68c4f6f292..86d6b75e187 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -5309,7 +5309,7 @@ pop_it (it) determine the paragraph base direction if the overlay we just processed is at the beginning of a new paragraph. */ - if (it->bidi_it.first_elt) + if (it->bidi_it.first_elt && it->bidi_it.charpos < ZV) bidi_paragraph_init (it->paragraph_embedding, &it->bidi_it); /* prev_stop can be zero, so check against BEGV as well. */ while (it->bidi_it.charpos >= BEGV